how to simplify indices and surds